package com.yehebl.orm.exception;

/**
 * 解析表达式异常
 */
public class OrmExpressionException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	public OrmExpressionException(String expression,Throwable e) {
		super("解析表达式[" + expression + "]错误,"+e.getMessage());
	}
	public OrmExpressionException(String expression) {
		super("解析表达式[" + expression + "]错误");
	}

	public OrmExpressionException(String expression, String className, String field) {
		super("解析表达式[" + expression + "],[" + className + "]的[" + field + "]字段不存在");
	}
}
